<extend name="base"/>

<block name="content">

           <div class="classset"> 
            <ul class="nav nav-tabs">
            <li>
              <a href="{:U('course')}">年级课程</a>
            </li>
            <li class="active">
              <a href="{:U('coursecontent')}">课程内容</a>
            </li>
            <li>
              <a href="{:U('addcoursecontent')}">添加内容</a>
            </li>

          </ul>
             <legend>课程设置  [{$cid}]</legend>                 


                   
                    <volist name="contents" id="v">
                   <form role="form" method="post" id="courseform{$v.id}" name="courseform{$v.id}">
                    <table class="table table-bordered">
                    <thead>
                     <tr>
                      <th>{$v.id}-{$v.title}<div class="pull-right"><a href="">编辑</a>｜<a href="{:U('coursecontent')}">内容</a>｜删除{$v.create_time|date="Y-m-d",###}<input id="submit" class="btn btn-primary" value="保存"  type="submit" ></div></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                      <td colspan="2"><div class="form-group">
                            <label for="content" class="col-xs-10 control-label">内容</label>

                            <div class="col-xs-10">
                                <php>
                                    $config="toolbars:[['source','|','bold','italic','underline','fontsize','forecolor','fontfamily','backcolor','|','link','emotion','scrawl','attachment','insertvideo','insertimage','insertcode']]";</php>
                                </php>
                                {:W('Common/Ueditor/editor',array('myeditor_edit','content',$v['content'],'650px','250px',$config))}
                            </div>
                        </div>
                        </td>
                      </tr>
                     </tbody>
                    </table>
                    </form>
              </volist>
       </div> 
   </block>  


